<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.jaxplat.commons.Row" %>
<%@ page import="com.rs.util.Utils" %>
<%
    String contextPath = request.getContextPath();
	List rows = null;
	int totalCount =0;
 	String pagingHtml = "";

	if(null != request.getAttribute("rows"))
	{
	    rows = (List)request.getAttribute("rows");
	}
	else
	{
	    rows = new java.util.ArrayList();
	}
	
	if(null != request.getAttribute("totalCount"))
	{
	    totalCount = ((Integer)request.getAttribute("totalCount")).intValue();
	}
	if(null != request.getAttribute("pagingHtml"))
	{
	    pagingHtml = (String)request.getAttribute("pagingHtml");
	}
%>
	


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="预约挂号,预约诊疗,门诊预约,网上医院,网上挂号" name="Keywords">
<meta content="预约挂号平台提供各大三甲医院知名专家的网上预约就医服务。同时提供就医咨询、导医陪诊、专家会诊、住院转院、安排手术等服务" name="description">
<title>科室列表-云南移动无线城市</title>

<%=request.getSession().getAttribute("cssContent") %>
<link rel="stylesheet" type="text/css" href="<%=contextPath %>/css2/style.css">

<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="<%=contextPath %>/js/common.js"></script>
	
<script type="text/javascript">

</script>

<!--[if IE 6]>
 <style type="text/css">
 .w942m {
	width:942px;
	margin:0 auto;
	margin-top:150px;
}
.main_left .main_box_title {
	background: url("../images/h4bg.png") no-repeat scroll left top transparent;
	height:43px;
	margin-left:-10px;
	position:absolute;
	top:10px;
}
 </style>
<![endif]-->

<!--[if IE 7]>
 <style type="text/css">
 .w942m {
	width:942px;
	margin:0 auto;
	margin-top:150px;
}
.main_left .main_box_title {
	background: url("../images/h4bg.png") no-repeat scroll left top transparent;
	height:43px;
	margin-left:-10px;
	position:absolute;
	top:10px;
}
 </style>
<![endif]-->

</head>
<body>
<%=request.getSession().getAttribute("headerContentWeb") %>
<div class="guahao"> 
  <!--start header-->
  
    <%@ include file="head.jsp"%> 
    
  <!--end header-->
  <div class="clear mb8"></div>
  <!--start main-->
  <div class="main w942m">
    <div class="main_left fl">
      
      <!--end main_box-->
      <div class="main_box">
        <div class="main_box_title">
          <div class="titleleft fl"></div>
          <div class="left_titlemain fl">
            <h4 class="h4 w_auto"><span class="red">&nbsp;</span>搜索结果：共有 <span class="red"><%=totalCount %></span> 条相关结果 </h4>
          </div>
          <div class="titleright fl"></div>
        </div>
        <div class="left_main_box_cont">
			 
			 <%
			 for(int i=0; i < rows.size();i++)
			 {
			     Row item = (Row)rows.get(i);
			     String linkUrl = "";
			     if(item.getInt("type")==1)
			     {
			         linkUrl = contextPath + "/web2/hosAction.do?method=viewHos&hospital_id=" + item.getLong("id");
			     }
			     else if(item.getInt("type")==2)
			     {
			         linkUrl = contextPath + "/web2/secAction.do?method=viewsec&secid=" + item.getLong("id");
			     }
			     else if(item.getInt("type")==3)
			     {
			         linkUrl = contextPath + "/web2/doctorAction.do?method=searchDocInfo&doctor_id=" + item.getLong("id");
			     }
			         
			 %>
	          <ul class="ulist">
		          <li class="uhead">
		          <a href="<%=linkUrl %>" >
		          	 <%=item.getString("title") %>
		          </a>
		           </li>
		          <li><%=item.getString("info") %>&nbsp;&nbsp;</li>

	          </ul>
	          <%
	          }
	          %>
       <div class="pages">
          <p class="page"><%=pagingHtml %></p>
        </div>
        </div>
        <!--end left_main_box_cont-->
        <div class="left_box_bottom mb8">

        </div>
      </div>
      <!--end main_box--> 
    </div>
    <!--end main_left-->
    <%@ include file="right_1.jsp"%> 
    <!--end main_right--> 
  </div>
  
  <!--end main_left--> 
  
</div>
<!--end main-->
<div class="clear"></div>
</div>
<%=request.getSession().getAttribute("footerContentWeb") %>
</body>
</html>